﻿<!--帖子列表-->
@foreach (Model.Articles item in ViewBag.list)
{
    <div style="margin: 5px 10px 10px; background-color: #ece5d8; line-height: 25px">
        <img src="~/img/missing.png" />发帖人id: @item.UserID  发帖人姓名: @item.Users.UserName  发帖时间:   @item.CreateTime
        <hr />
        <a href="/Articles/Detail/@item.ID">@item.Content</a>
        <br />
                        <a href="/Articles/Zan/@item.ID?act=Index&ctrl=Home">赞<img src="~/img/tzan.png" /></a>:@item.Zan  人 &nbsp;
                        <a href="/Articles/Cai/@item.ID">踩<img src="~/img/tcai.png" /></a>:@item.Cai  人&nbsp;
                        浏览<img src="~/img/tshua.png" />:@item.Dian  人&nbsp;
                        评论<img src="~/img/tping.png" />:@item.Pingluns.Count 人&nbsp;
                <hr />
    </div>
}
